
###
 # @Author: daniel
 # @Date: 2023-12-23 12:29:08
 # @LastEditTime: 2023-12-23 12:48:13
 # @LastEditors: daniel
 # @Description: 
 # @FilePath: /intrinsic_lora/install.sh
 # have a nice day
### 


# conda create -n lora python=3.8 -y 
conda activate yang_real


#Conda
conda install tokenizers -y 
#* there is a conflict existing in torch installed by pip and transformers install by pip
# pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116
conda install pillow=9.2.0 -y 
conda install tqdm=4.64.1 -y 
# conda install transformers -y
pip install transformers
python -c 'import torch;print(torch.__version__, torch.cuda.is_available())'

#pip
pip install pyparsing 
pip install accelerate #* need reinstall, because of pillow and pyparsing  not being installed
pip install  einops==0.6.1
pip install  huggingface-hub==0.16.4 
pip install  numpy==1.22.4
pip install  wandb==0.12.21


pip install diffusers

pip install chardet



